/**
 * 简单表格
 */
Ext.define('Jason.view.example.grid.basic.MainView', {
    extend: 'Wys.basic.BaseView',
    xtype: 'basicGridView',
    requires: [
        'Wys.basic.BaseStore',
        'Jason.view.example.grid.basic.MainController',
        'Jason.view.example.grid.basic.MainModel',
        'Jason.store.example.grid.BasicGridStore'
    ],
    controller: 'basicGridViewCtrl',
    viewModel: { type: 'basicGridViewModel' },
    bind: '{basicGridStoreModelView}',
    columns: [
        { text: '字段1', dataIndex: 'field1', flex: 1 },
        { text: '字段1', dataIndex: 'field2', flex: 1 }
    ]
});